package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆管理对象 tmc_user_car
 * 
 * @author ruoyi
 * @date 2021-06-28
 */
public class TmcUserCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long publicuserId;
    private String userName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String userPhone;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carnum;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPublicuserId(Long publicuserId) 
    {
        this.publicuserId = publicuserId;
    }

    public Long getPublicuserId() 
    {
        return publicuserId;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setCarnum(String carnum) 
    {
        this.carnum = carnum;
    }

    public String getCarnum() 
    {
        return carnum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("publicuserId", getPublicuserId())
            .append("userPhone", getUserPhone())
            .append("carnum", getCarnum())
            .toString();
    }
}
